class Blog::AdminFriendblogsController < AdminController

  def new
    @friendblog = Friendblog.new
  end

  def create
    @friendblog = Friendblog.new(params[:friendblog])
    @friendblog.save
  end

  def destroy
    @friendblog = Friendblog.find params[:id]
    @friendblog.destroy
    redirect_to blog_admin_posts_path
  end
end
